
#import <Cocoa/Cocoa.h>

@class BWColorset;
@class BWThreadColor;

@interface BWColorsetDocument : NSDocument
{
    IBOutlet NSTextField *manufacturerField;
    IBOutlet NSTableView *colorView;

    BWColorset *colorset;

    NSTableColumn *lastSortColumn;
    BOOL sortDescending;
}

- (IBAction) updateManufacturerName: (id) sender;
- (IBAction) newColor: (id) sender;
- (IBAction) import: (id) sender;
- (IBAction) remove: (id) sender;

// invoked by inspector
- (void) colorChanged: (BWThreadColor *) color;

@end // BWColorsetDocument

